package com.lucher.mes.po;

import java.util.List;

public class Device extends BaseField{
	private static final long serialVersionUID = 3589572430329265304L;

	private Integer id;

    private String devicecode;

    private String devicename;

    private Integer totalnum;

    private Integer usenum;

    private Integer repairnum;

    private String remark;

    private Device device;
	private List<Device> devicelist;
    
	private Integer depotamount; //出入库量
	private String info; //
	private String batchnos;//多个设备设备编号字符串
	
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDevicecode() {
        return devicecode;
    }

    public void setDevicecode(String devicecode) {
        this.devicecode = devicecode == null ? null : devicecode.trim();
    }

    public String getDevicename() {
        return devicename;
    }

    public void setDevicename(String devicename) {
        this.devicename = devicename == null ? null : devicename.trim();
    }

    public Integer getTotalnum() {
        return totalnum;
    }

    public void setTotalnum(Integer totalnum) {
        this.totalnum = totalnum;
    }

    public Integer getUsenum() {
        return usenum;
    }

    public void setUsenum(Integer usenum) {
        this.usenum = usenum;
    }

    public Integer getRepairnum() {
        return repairnum;
    }

    public void setRepairnum(Integer repairnum) {
        this.repairnum = repairnum;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

	public Device getDevice() {
		return device;
	}

	public void setDevice(Device device) {
		this.device = device;
	}

	public List<Device> getDevicelist() {
		return devicelist;
	}

	public void setDevicelist(List<Device> devicelist) {
		this.devicelist = devicelist;
	}

	public Integer getDepotamount() {
		return depotamount;
	}

	public void setDepotamount(Integer depotamount) {
		this.depotamount = depotamount;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getBatchnos() {
		return batchnos;
	}

	public void setBatchnos(String batchnos) {
		this.batchnos = batchnos;
	}
}